package com.ldk.framework.push;

/**
 * 快车自定义消息类型
 * @author xiangwl
 * 2017年3月4日
 * com.ldk.framework.push
 * KCCustomMsgType
 */
public enum CustomMsgType {
	UserNewTrip("用户新行程", 1),
	UserDepositPayed("用户支付定金", 2),
	UserCancelTrip("用户取消行程", 3),
	DriverAcceptTrip("司机接受行程", 4),
	UserOnTheCar("用户已上车", 5),
	UserFeePayed("用户支付费用", 6),
	TripGo("行程已出发", 7),
	TripDriverArrive("已到达上车地点", 14),
	TripCrewUpCar("乘客已上车", 13),
	TripCrewDownCar("乘客已下车", 12),
	TripPay("司机发起支付", 11),
	TripComplete("行程已结束", 8),
	TripExpired("行程已过期", 9),
	DriverCancelTrip("司机取消行程", 10)
	;
	private CustomMsgType(String name, Integer value){
		this.name = name;
		this.value = value;
	}
	private String name;
	private Integer value;
	
	public String getName() {
		return name;
	}
	public Integer getValue() {
		return value;
	}
}
